﻿using Microsoft.AspNetCore.Mvc;

namespace Web.Controllers
{
	/// <summary>
	/// 
	/// </summary>
	public class testController : Base2Controller
	{
		#region 平台获取appId和openid测试
		/// <summary>
		/// 平台获取appId和openid测试
		/// </summary>
		/// <returns></returns>
		public IActionResult index()
		{
			ViewBag.appId = appId;
			ViewBag.openid = CurrentUserOpenid;
			return View();
		}
		#endregion

		#region 发送模板消息测试
		/// <summary>
		/// 合伙人注册成功通知
		/// </summary>
		/// <returns></returns>
		//public IActionResult tmlmsg1()
		//{
		//    SendTemplateMessageResult? _result = new BLL.SendWeiXinTemplateMessage().PartnersRegister(_CurrentUser);//合伙人注册成功通知
		//    return Content(_result.ToJson());
		//}
		#endregion
	}
}
